<?php
namespace app\passport\validate;
use think\Validate;

class Face extends Validate {
	protected $rule = [
		'face_name'  => 'require',
		'table_name' => 'require',
		'about'      => 'require',
	];

	protected $message = [
		'face_name'  => '{%lang_face_face_name}',
		'table_name' => '{%lang_face_table_name}',
		'about'      => '{%lang_face_about}',
	];

	protected $scene = [
		'edit' => ['face_name','table_name','about'],
		'edit' => ['face_name','about'],
	];
}
